package com.ruoyi.main.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户管理对象 main_client
 * 
 * @author chao
 * @date 2024-07-23
 */
public class MainClient extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户ID */
    private Long id;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String name;

    /** 客户地址 */
    @Excel(name = "客户地址")
    private String address;

    /** 客户电话 */
    @Excel(name = "客户电话")
    private String phone;

    /** 客户类型 */
    @Excel(name = "客户类型")
    private String type;

    /** 客户简介 */
    @Excel(name = "客户简介")
    private String intro;

    /** 联系人1姓名 */
    @Excel(name = "联系人1姓名")
    private String connect1Name;

    /** 联系人1电话 */
    @Excel(name = "联系人1电话")
    private String connect1Phone;

    /** 联系人2姓名 */
    @Excel(name = "联系人2姓名")
    private String connect2Name;

    /** 联系人2电话 */
    @Excel(name = "联系人2电话")
    private String connect2Phone;

    /** 备注 */
    @Excel(name = "备注")
    private String common;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setIntro(String intro) 
    {
        this.intro = intro;
    }

    public String getIntro() 
    {
        return intro;
    }

    public void setConnect1Name(String connect1Name) 
    {
        this.connect1Name = connect1Name;
    }

    public String getConnect1Name() 
    {
        return connect1Name;
    }

    public void setConnect1Phone(String connect1Phone) 
    {
        this.connect1Phone = connect1Phone;
    }

    public String getConnect1Phone() 
    {
        return connect1Phone;
    }

    public void setConnect2Name(String connect2Name) 
    {
        this.connect2Name = connect2Name;
    }

    public String getConnect2Name() 
    {
        return connect2Name;
    }

    public void setConnect2Phone(String connect2Phone) 
    {
        this.connect2Phone = connect2Phone;
    }

    public String getConnect2Phone() 
    {
        return connect2Phone;
    }

    public void setCommon(String common) 
    {
        this.common = common;
    }

    public String getCommon() 
    {
        return common;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("address", getAddress())
            .append("phone", getPhone())
            .append("type", getType())
            .append("intro", getIntro())
            .append("connect1Name", getConnect1Name())
            .append("connect1Phone", getConnect1Phone())
            .append("connect2Name", getConnect2Name())
            .append("connect2Phone", getConnect2Phone())
            .append("common", getCommon())
            .toString();
    }
}
